# coding:utf-8
from itertools import chain
import os
import threading
from redis import ConnectionError, TimeoutError, Connection,ConnectionPool,StrictRedis

__author__ = 'cgk'


if __name__ == '__main__':
    r = StrictRedis()
    print r.info()['connected_clients']


